package com.sunda.spmsoversea.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 海外仓其他出入库明细
 * </p>
 *
 * @author Wayne
 * @since 2021-12-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OVERSEA_OTHER_DTL")
@ApiModel(value="OverseaOtherDtl对象", description="海外仓其他出入库明细")
public class OverseaOtherDtl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "其他出入库明细自增ID")
    @TableId(value = "AUTO_ID_OTHER", type = IdType.AUTO)
    private Double autoIdOther;

    @ApiModelProperty(value = "海外仓其他出入库UUID")
    @TableField("UUID")
    private String uuid;

    @ApiModelProperty(value = "其他出入库明细行号")
    @TableField("ITEM")
    private String item;

    @ApiModelProperty(value = "工厂代码")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "车间代码")
    @TableField("WORKSHOP_CODE")
    private String workshopCode;

    @ApiModelProperty(value = "仓库代码")
    @TableField("WHS_LOCATION_CODE")
    private String whsLocationCode;

    @ApiModelProperty(value = "物料编号(串货调整时,出库料号)")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "出入库操作基本单位数量(串货调整时,出库数量)")
    @TableField("ACTUAL_QTY_BASIC_UNIT")
    private Double actualQtyBasicUnit;

    @ApiModelProperty(value = "储位信息(串货调整时,出库储位)")
    @TableField("STORAGE_INFO")
    private String storageInfo;

    @ApiModelProperty(value = "基本单位")
    @TableField("BASIC_UNIT")
    private String basicUnit;

    @ApiModelProperty(value = "成本中心")
    @TableField("COST_CENTER")
    private String costCenter;

    @ApiModelProperty(value = "调整后的物料编号(仅串货调整时,入库料号)")
    @TableField("MATERIAL_NO_ADJUSTED")
    private String materialNoAdjusted;

    @ApiModelProperty(value = "调整后入库操作基本单位数量(仅串货调整时,入库数量)")
    @TableField("ACTUAL_QTY_BASIC_UNIT_ADJUSTED")
    private Double actualQtyBasicUnitAdjusted;

    @ApiModelProperty(value = "调整后储位信息(仅串货调整时,入库储位)")
    @TableField("STORAGE_INFO_ADJUSTED")
    private String storageInfoAdjusted;

    @ApiModelProperty(value = "供应商编号(仅串货调整可选输入)")
    @TableField("SUPPLIER_NO")
    private String supplierNo;

    @ApiModelProperty(value = "交货单号(仅收货多收填写)")
    @TableField("SAP_DELIVERY_NOTE")
    private String sapDeliveryNote;

    @ApiModelProperty(value = "交货单行号(仅收货多收填写)")
    @TableField("SAP_DELIVERY_NOTE_ITEM")
    private String sapDeliveryNoteItem;

    @ApiModelProperty(value = "行备注")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "行评论")
    @TableField("COMMENTS")
    private String comments;

    @ApiModelProperty(value = "内部订单号(Z57,Z58)")
    @TableField("INTERNAL_ORDER_NUMBER")
    private String internalOrderNumber;

    @ApiModelProperty(value = "本币金额(Z561,Z562)")
    @TableField("LOCAL_CURRENCY")
    private Double localCurrency;


}
